
# which compiler
CC = g++

# where to install
INSTDIR = .

# Where are include files kept
INCLUDE = .

main: main.o Student.o
	$(CC) -o main main.o Student.o
main.o: main.cpp Student.h
	$(CC) -I$(INCLUDE) -c main.cpp
Student.o: Student.cpp Student.h
	$(CC) -I$(INCLUDE) -c Student.cpp

clean:
	-rm main.o Student.o

debug: main.cpp Student.cpp Student.h
	$(CC) -g -o main main.cpp Student.cpp
